-- GENERATED SPELL FOR [Feral Crag Coyote] --


function spell0_2728(pUnit, Event) --@Thrash,Self--
pUnit:FullCastSpellOnTarget(3391,pUnit)
pUnit:RegisterEvent('Sorts_2728', 657, 1)
end

function Sorts_2728(pUnit, Event)
local choix_sorts_2728 = math.random(0, 0)
if choix_sorts_2728 == 0 then
pUnit:RegisterEvent('spell0_2728', 1, 1)
end
end

function mob2728_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2728', math.random(1500, 3000), 1)
end

function mob2728_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2728_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2728_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2728, 1, 'mob2728_Action')
RegisterUnitEvent(2728, 2, 'mob2728_Leave')
RegisterUnitEvent(2728, 3, 'mob2728_Kill')
RegisterUnitEvent(2728, 4, 'mob2728_Die')
